package com.hckjsec.cloud.mapper;

import java.util.List;
import com.hckjsec.cloud.domain.AppletsConfigMatterDetail;

/**
 * 配置事项明细Mapper接口
 * 
 * @author cyt
 * @date 2021-08-05
 */
public interface AppletsConfigMatterDetailMapper 
{
    /**
     * 查询配置事项明细
     * 
     * @param id 配置事项明细ID
     * @return 配置事项明细
     */
    public AppletsConfigMatterDetail selectAppletsConfigMatterDetailById(Long id);

    /**
     * 查询配置事项明细列表
     * 
     * @param appletsConfigMatterDetail 配置事项明细
     * @return 配置事项明细集合
     */
    public List<AppletsConfigMatterDetail> selectAppletsConfigMatterDetailList(AppletsConfigMatterDetail appletsConfigMatterDetail);

    /**
     * 新增配置事项明细
     * 
     * @param appletsConfigMatterDetail 配置事项明细
     * @return 结果
     */
    public int insertAppletsConfigMatterDetail(AppletsConfigMatterDetail appletsConfigMatterDetail);

    /**
     * 修改配置事项明细
     * 
     * @param appletsConfigMatterDetail 配置事项明细
     * @return 结果
     */
    public int updateAppletsConfigMatterDetail(AppletsConfigMatterDetail appletsConfigMatterDetail);

    /**
     * 删除配置事项明细
     * 
     * @param id 配置事项明细ID
     * @return 结果
     */
    public int deleteAppletsConfigMatterDetailById(Long id);

    /**
     * 批量删除配置事项明细
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAppletsConfigMatterDetailByIds(Long[] ids);

    /**
     * 批量删除配置事项明细根据事项编号
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAppletsConfigParamDetailByNumberId(AppletsConfigMatterDetail appletsConfigMatterDetail);

    /**
     * 删除配置事项明细
     *
     * @param id 配置事项明细Config
     * @return 结果
     */
    public int deleteAppletsConfigMatterDetailByConfig(Long configId);

    /**
     * 获取类别List
     *
     * @param id 配置事项明细Config
     * @return 结果
     */
    public List<String> selectListCategoryByConfigId(Long configId);
}
